Automattic\Jetpack\Sync\Actions D

Total Complexity 137
Dependencies 20
Dependents 24
Total lines 1,079
Lines of code 492
Logical lines of code 276
Comment lines 452
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
send_data()
A
37 14 72
do_cron_sync_by_type()
A
48 16 29
get_sync_status()
A
42 12 48
get_debug_details()
A
44 9 44
should_initialize_sender()
A
51 10 28
sync_allowed()
A
54 9 24
init()
S
53 7 22
do_initial_sync()
S
57 5 17
cleanup_on_upgrade()
S
58 5 15
initialize_woocommerce()
S
60 4 13
maybe_schedule_sync_cron()
S
60 4 13
jetpack_cron_schedule()
S
59 3 13
do_full_sync()
S
62 3 12
reset_sync_locks()
S
58 2 16
do_only_first_initial_sync()
S
69 3 7
initialize_search()
S
64 3 9
should_initialize_sender_enqueue()
S
66 3 9
get_start_time_offset()
S
63 2 11
initialize_wp_super_cache()
S
70 2 6
add_sender_shutdown()
S
64 2 10
add_dedicated_sync_sender_init()
S
67 2 9
prevent_publicize_blacklisted_posts()
S
70 2 6
sanitize_filtered_sync_cron_schedule()
S
67 2 8
init_sync_cron_jobs()
S
64 1 9
clear_sync_cron_jobs()
S
77 1 4
set_is_importing_true()
S
80 1 3
do_cron_full_sync()
S
80 1 3
add_wp_super_cache_sync_module()
S
76 1 4
mark_sync_read_only()
S
79 1 3
add_woocommerce_sync_module()
S
76 1 4
add_search_sync_module()
S
76 1 4
do_cron_sync()
S
80 1 3
sync_via_cron_allowed()
S
80 1 3
initialize_sender()
S
74 1 4
initialize_listener()
S
79 1 3
add_woocommerce_hpos_order_sync_module()
S
76 1 4